package com.easy.util;

import lombok.Data;

@Data
public class Page {

    private Integer current;//页码
    private Integer limit;  //每页显示的条数
    private Integer start;
    public Integer getStart(){
        return (current - 1) * limit;
    }

    private Integer count; //表中数据总数
    private Object data;

}
